"""
    with语句块生成操作对象，with语句块结束后自动销毁
"""
with open('file1.txt', 'r+')as f:
    print(f.read())
